package net.oschina.allchat.message.processing.conversion;

import java.lang.annotation.Annotation;

public interface IConversionFactory {
	<T extends Annotation> void register(Class<T> type, IConverterFactory<T> converterFactory);
	<T extends Annotation> IConverterFactory<T> unregister(Class<T> type);
	
	<T extends Annotation> IConverter getConverter(T annotation);
}
